<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>博客登录</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name='robots' content='noindex,follow' />
<meta name="viewport" content="width=device-width" />

<link rel="stylesheet"
	href="resources/plugin/font-awesome/css/font-awesome.min.css">
<link rel="shortcut icon" href="resources/img/logo.png">
<link rel='stylesheet' id='resources/dashicons-css'
	href='resources/plugin/login/dashicons.min.css' type='text/css'
	media='all' />
<link rel='stylesheet' id='buttons-css'
	href='resources/plugin/login/buttons.min.css' type='text/css'
	media='all' />
<link rel='stylesheet' id='forms-css'
	href='resources/plugin/login/forms.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='l10n-css'
	href='resources/plugin/login/l10n.min.css' type='text/css' media='all' />
<link rel='stylesheet' id='login-css'
	href='resources/plugin/login/login.min.css' type='text/css' media='all' />
<link rel='stylesheet' href='resources/css/login.css' type='text/css'
	media='all' />

</head>

<body class="login login-action-login wp-core-ui  locale-zh-cn">
	<div id="login">
		<br /> <br />
		<form name="loginForm" id="loginForm" action="loginVerify"
			method="post">
			<p>
				<label for="user_login">用户名或电子邮件地址<br /> <input type="text"
					name="username" id="user_login" class="input" value="admin"
					size="20" required />
				</label>
			</p>
			<p>
				<label for="user_pass">密码<br /> <input type="password"
					name="password" id="user_pass" class="input" value="123456"
					size="20" required />
				</label>
			</p>
			<p class="forgetmenot">
				<label for="rememberme"> <input name="rememberme"
					type="checkbox" id="rememberme" value="1" checked /> 记住密码
				</label>
			</p>
			<p class="submit">
				<input type="submit" name="wp-submit" id="submit-btn"
					class="button button-primary button-large" value="登录" />
				<!--  //注意,这里要换成submit ,不要用button -->

			</p>
		</form>

		<p id="backtoblog">
			<a href="#">&larr; 去往博客前台</a>
		</p>

	</div>


	<div class="clear"></div>
	<script type="text/javascript">
	if ("${msg }"!="") {
		alert('哈哈哈  登陆失败')
	}
	</script>
</body>

</html>